import React, {PureComponent} from "react"
import { connect } from "dva"


export const  createList = (props)=> {

  return (Comp)=>{
    class Text extends PureComponent {

      render(){

        return <Comp {...this.props}/>
      }
    };
    return connect((state)=>{

      return {
        list:[],
        page:{},
      }
    })(Text);
  }
};
